package cc.abanlee.framework.common.validation;

import cc.abanlee.framework.common.validation.validator.MobileValidator;

import javax.validation.Constraint;
import java.lang.annotation.*;

/**
 * @author: create by
 * @version: v1.0
 * @description:
 * @date:2022/8/17
 */

@Target({
        ElementType.METHOD,
        ElementType.FIELD,
        ElementType.ANNOTATION_TYPE,
        ElementType.CONSTRUCTOR,
        ElementType.PARAMETER,
        ElementType.TYPE_USE
})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Constraint(
        validatedBy = MobileValidator.class
)
public @interface Mobile {


}
